#ifndef BOOSTHASHWRAPPER_H_JM_20120826
#define BOOSTHASHWRAPPER_H_JM_20120826

#include "Hash.h"
#include <boost/functional/hash.hpp>

namespace jmlib {
	template<class T>
	class BoostHashWrapper : public Hash<T> {
	public:
		virtual size_t operator()(T val) const override {		
			return hash_(val);
		}
	private :
		boost::hash<T> hash_;
	};	
} // namespace jmlib

#endif
